import Api from './request'


// 获取聊天记录
export const getChatMessagesApi = (data) => Api.get('/api/chat/messages', data)

// 发送信息
export const postChatSendApi = (data) => Api.post('/api/chat/send', data)

// 标记已读
export const postChatReadApi = (data) => Api.post('/api/chat/read', data)

// 获取我的消息列表
export const getChatListApi = (data) => Api.get('/api/chat/list', data)